import pygame

class Music:
    def __init__(self, file):
        self.sound = pygame.mixer.Sound(file)
    def play(self, loops=0):
        self.sound.play(loops=loops)